<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="EditProfileCompany.aspx.cs" Inherits="EditProfileCompany" %>

<%@ Register Src="usercontrols/MainMenu.ascx" TagName="MainMenu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="content_general">
        <!-- Left main begin-->
        <uc1:MainMenu ID="MainMenu1" runat="server" />
        <!-- Left main -->
        <!-- Left right main begin-->
        <div class="fl left_right_main">
            <div class="member_are">
                <div class="log_out">
                      <asp:LinkButton ID="linkLogout" CausesValidation="false" runat="server" OnClick="linkLogout_Click">Logout</asp:LinkButton></div>
                <ul>
                    <li><span>Member Area</span> </li>
                </ul>
            </div>
            <div style="font-size: 20px" class="red">
                Change company infomation</div>
            <div class="form_post_sell mt_10px">
                <div class="formrow">
                 <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator3" runat="server"
                    ControlToValidate="txtName" ErrorMessage="<div class='field_error' style='position: absolute; top: 4px; left: 815px;'>
                    Please enter Company name</div>"></asp:RequiredFieldValidator>
                    <div class="lb_medium right fl">
                        Company name:
                    </div>
                    <input name="" type="text" class="textbox_medium fl" id="txtName" runat="server" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Country:
                    </div>
                    <asp:DropDownList CssClass="select_medium fl" Width="205px" ID="ddlCountry" runat="server">
                    </asp:DropDownList>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Zip/postal code:
                    </div>
                    <input name="" type="text" class="textbox_smallest fl" id="txtZip" runat="server" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Company logo:</div>
                    <asp:FileUpload ID="UL_Picture" CssClass="file_upload fl" runat="server" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow ">
                 <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator1" runat="server"
                    ControlToValidate="txtAddress" ErrorMessage="<div class='field_error' style='position: absolute; top: -17px; left: 530px;'>
                    Please enter Address</div>"></asp:RequiredFieldValidator>
                    <div class="lb_medium right fl">
                        Address:
                    </div>
                    <input name="" type="text" class="textbox_large fl" id="txtAddress" runat="server" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Year of establishment:
                    </div>
                    <input name="" type="text" class="textbox_small fl" id="txtYearofEst" runat="server" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Primary product(s):
                    </div>
                    <input name="" type="text" class="textbox_small fl" id="txtPrimaryPro" runat="server" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Representative name:
                    </div>
                    <input name="" type="text" class="textbox_small fl" id="txtRepName" runat="server" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Gender:</div>
                    <input name="" type="radio" value="" id="rdoML" runat="server" class="radio fl" />
                    <div class="fl text_normal">
                        Mr/Ms
                    </div>
                    <input name="" type="radio" value="" id="rdoMale" runat="server" class="radio fl" />
                    <div class="fl text_normal">
                        Mr
                    </div>
                    <input name="" type="radio" value="" id="rdiFemale" runat="server" class="radio fl" />
                    <div class="fl text_normal">
                        Ms
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Position/Job title:</div>
                    <input name="" type="text" id="txtJobTitRep" runat="server" class="textbox_medium fl" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                 <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator4" runat="server"
                    ControlToValidate="txtContactPeron" ErrorMessage="<div class='field_error' style='position: absolute; top: 4px; left: 365px;'>
                    Please enter Contact person</div>"></asp:RequiredFieldValidator>
                    <div class="lb_medium right fl">
                        Contact person:
                    </div>
                    <input name="" type="text" class="textbox_small fl" id="txtContactPeron" runat="server" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Gender:</div>
                    <asp:RadioButton Checked="true" CssClass="radio fl" ID="rdoMrMsCon" runat="server"
                        GroupName="abc" />
                    <div class="fl text_normal">
                        Mr/Ms
                    </div>
                    <asp:RadioButton Checked="true" CssClass="radio fl" ID="rdoMaleCon" runat="server"
                        GroupName="abc" />
                    <div class="fl text_normal">
                        Mr
                    </div>
                    <asp:RadioButton Checked="true" CssClass="radio fl" ID="rdiFemaleCon" runat="server"
                        GroupName="abc" />
                    <div class="fl text_normal">
                        Ms
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Position/Job title:</div>
                    <input name="" type="text" id="txtJobTitleContact" runat="server" class="textbox_medium fl" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                 <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator2" runat="server"
                    ControlToValidate="txtPhone" ErrorMessage="<div class='field_error' style='position: absolute; top: 4px; left: 365px;'>
                    Please enter Telephone</div>"></asp:RequiredFieldValidator>
                    <div class="lb_medium right fl">
                        Telephone:
                    </div>
                    <input name="" type="text" class="textbox_small fl" id="txtPhone" runat="server"
                        onkeyup="this.value = FormatNumber(this.value);" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Fax:
                    </div>
                    <input name="" type="text" class="textbox_small fl" id="txtFax" runat="server" onkeyup="this.value = FormatNumber(this.value);" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow" style="display: none;">
                    <div class="lb_medium right fl">
                        Email:
                    </div>
                    <input name="" type="text" class="textbox_small fl" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Website:
                    </div>
                    <input name="" type="text" id="txtWebsite" runat="server" class="textbox_small fl" />
                    <div class="clr">
                    </div>
                </div>
                  <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                <contenttemplate>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Products category:
                    </div>
                    <asp:DropDownList ID="ddlProCat" CssClass="select_medium fl" runat="server" OnSelectedIndexChanged="ddlProSubCat_OnSelectedIndexChanged"
                        AutoPostBack="true">
                    </asp:DropDownList>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Subcategory:
                    </div>
                    <asp:DropDownList ID="ddlSubCat" AutoPostBack="true" CssClass="select_medium fl"
                        runat="server" OnSelectedIndexChanged="ddlSubCat_OnSelectedIndexChanged">
                    </asp:DropDownList>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Sub Subcategory:</div>
                    <asp:DropDownList ID="ddlSubSubCat" CssClass="select_medium fl" runat="server">
                    </asp:DropDownList>
                    <div class="form_general_right1 form_note mt_5px">
                        <asp:CheckBox ID="chkBuy" runat="server" CssClass="fl checkbox" />
                        <span class="fl text_normal"><strong>Buyer</strong></span>
                        <asp:CheckBox ID="chkSel" runat="server" CssClass="fl checkbox" />
                        <span class="fl text_normal"><strong>Seller</strong></span></div>
                    <div class="clr">
                    </div>
                </div>
                </contenttemplate>
            </asp:UpdatePanel>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Type of company:</div>
                    <div class="form_general_right1 form_note">
                        <ul class="list_check_box">
                            <asp:Repeater ID="rpttypeCompany" runat="server" OnItemDataBound="rpttypeCompany_OnItemDataBound">
                                <ItemTemplate>
                                    <li>
                                        <asp:CheckBox ID="chkTypeCom" CssClass="fl checkbox" runat="server" />
                                        <div class="fl text_normal">
                                            <asp:Literal ID="ltrTitle" runat="server"></asp:Literal>
                                        </div>
                                        <asp:HiddenField ID="hidID" runat="server" />
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                            <div class="clr">
                            </div>
                        </ul>
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Type of business:</div>
                    <div class="form_general_right1 form_note">
                        <ul class="list_check_box">
                            <asp:Repeater ID="rptTypeBusiness" runat="server" OnItemDataBound="rptTypeBusiness_OnItemDataBound">
                                <ItemTemplate>
                                    <li>
                                        <asp:CheckBox ID="chkTypeBussiness" CssClass="fl checkbox" runat="server" /><div
                                            class="fl text_normal">
                                            <asp:Literal ID="ltrTitle" runat="server"></asp:Literal>
                                        </div>
                                        <asp:HiddenField ID="hidID" runat="server" />
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                            <div class="clr">
                            </div>
                        </ul>
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Major market:</div>
                    <div class="form_general_right1 form_note">
                        <ul class="list_check_box">
                            <asp:Repeater ID="rptMarjor" runat="server" OnItemDataBound="rptMarjor_OnItemDataBound">
                                <ItemTemplate>
                                    <li>
                                        <asp:CheckBox ID="chkMarjor" runat="server" CssClass="fl checkbox" />
                                        <div class="fl text_normal">
                                            <asp:Literal ID="ltrTitle" runat="server"></asp:Literal>
                                        </div>
                                        <asp:HiddenField ID="hidID" runat="server" />
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                        <div class="form_general_right form_note mt_5px">
                            <div class="fl text_normal ">
                                Other:
                            </div>
                            <input name="" type="text" class="textbox fl" style="width: 251px;" />
                        </div>
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Export turnover:</div>
                    <input name="" type="text" id="txtExTurn" runat="server" class="textbox_medium fl" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Number of employees:</div>
                    <input name="" type="text" id="txtNumEmployee" runat="server" class="textbox_medium fl" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Registered capital:</div>
                    <input name="" type="text" id="txtRegisCap" runat="server" class="textbox_medium fl" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Turnover:</div>
                    <input name="" type="text" id="txtTurn" runat="server" class="textbox_medium fl" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Certificate:</div>
                    <div class="form_general_right1 form_note">
                        <ul class="list_check_box1">
                            <asp:Repeater ID="rptCertifi" runat="server" OnItemDataBound="rptCertifi_OnItemDataBound">
                                <ItemTemplate>
                                    <li>
                                        <asp:CheckBox ID="chkCertifi" runat="server" CssClass="fl checkbox" />
                                        <div class="fl text_normal">
                                            <asp:Literal ID="ltrTitle" runat="server"></asp:Literal>
                                        </div>
                                        <asp:HiddenField ID="hidID" runat="server" />
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                            <div class="clr">
                            </div>
                        </ul>
                        <div class="form_general_right form_note mt_5px">
                            <div class="fl text_normal ">
                                Other:
                            </div>
                            <input name="" type="text" class="textbox fl" style="width: 251px;" />
                        </div>
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Capacity (products/year):</div>
                    <input name="" type="text" id="txtCapacity" runat="server" class="textbox_medium fl" />
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Introduction to company homepage:</div>
                    <div class="form_general_right1 form_note mt_5px">
                        <div class="form_general_right1 form_note">
                            <FCKeditorV2:FCKeditor ID="fck_Desc" runat="server" Width="550px" ToolbarSet="RTI"
                                Height="250px" ToolbarCanCollapse="false" BasePath="~/Javascripts/FCKEditor/">
                            </FCKeditorV2:FCKeditor>
                        </div>
                    </div>
                    <div class="clr">
                    </div>
                </div>
                <div class="mt_10px" style="padding-left: 160px;">
                    <asp:Button ID="btnSave" OnClick="btnsave_Click" CssClass="sub_mit" runat="server"
                        Text="FINISH" />
                    <div class="clr">
                    </div>
                </div>
                <div class="clr">
                </div>
            </div>
        </div>
        <div class="clr">
        </div>
        <!-- Left right main -->

       
</asp:Content>
